<?xml version="1.0" encoding="ISO-8859-1" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>header</title>
</head>
<body jsfc="ui:composition">
	<form jsfc="h:form" id="logout" rendered="#{user.loggedIn}">
		You are logged in as
		<h:outputText value=" #{user.loginName} " />
		<h:commandLink value="edit settings" action="user-settings" />
		<h:commandLink value="log out" action="#{login.logout}" />
	</form>
	<form jsfc="h:form" id="login" rendered="#{!user.loggedIn}">
		<h:commandLink value="log in" action="login" />
	</form>
</body>
</html>
